package com.quyeying.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.quyeying.entity.TblAddressEntity;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jll
 * @since 2022-07-25
 */
public interface TblAddressDao extends BaseMapper<TblAddressEntity> {

    TblAddressEntity findByIdOrDefault(@Param("id") Long id, @Param("userId") long userId);
}
